package com.tianji.learning.service;

import com.tianji.learning.domain.po.PointsBoardSeason;
import com.baomidou.mybatisplus.extension.service.IService;
import com.tianji.learning.domain.vo.PointsBoardSeasonVO;

import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author LYQ
 * @since 2024-07-01
 */
public interface IPointsBoardSeasonService extends IService<PointsBoardSeason> {

    /**
     * 查询历史赛季列表
     * @return
     */
    List<PointsBoardSeasonVO> queryHistorySeason();

    /**
     * 根据日期查询赛季id
     * @param date
     * @return
     */
    Integer querySeasonIdByDate(LocalDateTime date);
}
